import request, {requeste} from '../utils/request';
export async function queryServiceList(params) {
    return requeste('ServiceListCtrlService','getApiInfoList', {
        method: 'POST',
        body: params,
    });
}

export async function addServiceList(params) {
    return requeste('ServiceListCtrlService','addServiceList', {
        method: 'POST',
        body: params,
    });
}

export async function modServiceList(params) {
    return requeste('ServiceListCtrlService','modServiceList', {
        method: 'POST',
        body: params,
    });
}

export async function delServiceList(params) {
    return requeste('ServiceListCtrlService','delServiceList', {
        method: 'POST',
        body: params,
    });
}
export async function synApiCacheToDb(params) {
    return requeste('ServiceListCtrlService','synApiCacheToDb', {
        method: 'POST',
        body: params,
    });
}
export async function synApiDbToCache(params) {
    return requeste('ServiceListCtrlService','synApiDbToCache', {
        method: 'POST',
        body: params,
    });
}
export async function delCache(params) {
    return requeste('ServiceListCtrlService','delCache', {
        method: 'POST',
        body: params,
    });
}

